package com.cv.platform.framework.web.config;

import com.cv.framework.swagger.config.CvSwaggerAutoConfiguration;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 平台服务模块的 web 组件配置类
 *
 * @author Charles_XDXD
 */
@Configuration(proxyBeanMethods = false)
public class PlatformWebConfiguration {

    /**
     * 平台服务模块的 API 分组
     */
    @Bean
    public GroupedOpenApi platformGroupedOpenApi() {
        return CvSwaggerAutoConfiguration.buildGroupedOpenApi("platform");
    }

}
